package com.example.SBootDemo.service.Interface.function;

import java.util.Date;
import java.util.List;

import com.example.SBootDemo.model.elock.Alarm;
import com.example.SBootDemo.model.elock.CommandIssued;
import com.example.SBootDemo.model.elock.CommandIssuedHistory;
import com.example.SBootDemo.model.elock.Device;
import com.example.SBootDemo.model.elock.DeviceData;
import com.example.SBootDemo.model.elock.DeviceHeartbeat;
import com.example.SBootDemo.model.elock.MonitoringObject;
import com.example.SBootDemo.model.elock.MqttData;

public interface deviceInterface {

	List<DeviceData> getDeviceInfo(String deviceID,String startDate,String EndDate);
	List<MqttData> getMqttDataByUpdate(Long deviceid, int tip);
	List<DeviceHeartbeat> getDeviceHeartInfo(String deviceID,String startDate,String EndDat);
	List<CommandIssued> getDeviceCmd(String string, String string2, String string3);
	List<CommandIssuedHistory> getDeviceCmdHistory(String string, String string2, String string3);
	List<Alarm> getDeviceAlarm(String deviceID,String startDate,String EndDate, String alarmType);
	List<MqttData> getDeviceMq(String deviceID,String startDate,String EndDate,String topType);
	List<MonitoringObject>  getObjecttoDevice(String string, String secondname);
	List<Device> getDevicetoObject(String deviceID);
}
